<?php

namespace app\apis\controller;

use think\Controller;

// 配置信息控制器
class ConfigController extends Controller
{
    protected function initialize()
    {
        parent::initialize();
        $this->server = model('server.config');
    }

    public function getTagConfigOp()
    {
        $postData = validateRequestParam('config', 'getTagConfig');
        $responseData['meta'] = [
            'code' => 1,
            'msg' => '获取配置内容成功',
        ];
        $responseData['data'] = $this->server->getTagConfig($postData);

        return $responseData;
    }
}
